Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1012 mayachain refactor #1018

Merged
merged 17 commits into from
Feb 6, 2024
Merged

1012 mayachain refactor #1018

merged 17 commits into from
Feb 6, 2024

Conversation

0xp3gasus
Copy link
Contributor

@0xp3gasus 0xp3gasus commented Jan 29, 2024

Mayachain client migration to use the cosmos-sdk package as its foundation. Refactor done using Thorchain refactor as guide.

Breaking changes:

  • getPrivateKey is now async and response is Uint8Array type
  • getPubKey is now async and response is Uint8Array type
  • getDepositTransaction is deprecated in favour of getTransactionData
  • fetchTransaction removed
  • setClientUrl removed
  • getClientUrl removed
  • setExplorerUrls removed
  • getCosmosClient removed
  • setChainId removed

@0xp3gasus 0xp3gasus marked this pull request as ready for review January 29, 2024 11:36
@0xp3gasus 0xp3gasus linked an issue Jan 29, 2024 that may be closed by this pull request
@0xp3gasus 0xp3gasus marked this pull request as draft January 30, 2024 12:18
@0xp3gasus
Copy link
Contributor Author

Draft until #1019 is merged

Comment on lines 47 to 49
"@cosmjs/amino": "0.31.1",
"@cosmjs/proto-signing": "0.31.1",
"cosmjs-types": "0.8.0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why these dependencies are devDependencies ?

@0xp3gasus 0xp3gasus marked this pull request as ready for review February 6, 2024 09:12
@0xp3gasus 0xp3gasus merged commit ef2d8e2 into master Feb 6, 2024
1 check passed
@0xp3gasus 0xp3gasus deleted the 1012-mayachain-refactor branch February 6, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mayachain client refactor
2 participants